/*
 * IFacadeAutenticazione
 * 
 * The IFacadeAutenticazione interface provides a method to search for an account in the database,
 * a method to get all the accounts from the database and a method to check whether an account is present in the database or not
 * 
 * Author: Carmine Colicino, Luigi Di Martino
 * Version: 1.0
 * 
 * 2014 - Copyright by Team 6 - University of Salerno
*/
package it.unisa.udocs.facade;

import java.sql.SQLException;
import java.util.ArrayList;

import it.unisa.udocs.data.Account;

public interface IFacadeAutenticazione extends IFacade {
	
	Account cercaAccount(String username, String password) throws SQLException;	
	
	ArrayList<Account> getAllRicercatori() throws SQLException;
	
	int isAnAccount(Account acc);
	 
}
